lidas.edit = {
    dblclick : function(){
        this.attr('contentEditable',true);
        this.bind('focus', function() {
            var $this = $(this);
            $this.data('before', $this.html());
            return true;
        });
        this.bind('blur', function() {
            var $this = $(this);
            if ($this.data('before') !== $this.html()) {
                $this.data('before', $this.html());
                $this.data('id',$this.parent().data('id'));
                $this.data('values',$this.html().split('<hr/>'));
                lidas.send.call($this);
            }
            return true;
        });
        return false;
    },
    JSON : function(data){
        this.html(''+data.response[0][this.data('attr')]);
    }
};